/**
 * 布局layout/index.vue文件中的过渡动画
 */

//----------------------------------------------------------------------------------------------------------------
.navbar-left-enter {
  transform: translate(100%, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.navbar-left-enter-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 23;
}
.navbar-left-enter-to {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.navbar-left-leave {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.navbar-left-leave-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 13;
}
.navbar-left-leave-to {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.navbar-right-enter {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.navbar-right-enter-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 13;
}
.navbar-right-enter-to {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.navbar-right-leave {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
.navbar-right-leave-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 23;
}
.navbar-right-leave-to {
  transform: translate(100%, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}
//----------------------------------------------------------------------------------------------------------------
.main-left-enter {
  transform: translate(100%, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.main-left-enter-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 21;
}
.main-left-enter-to {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.main-left-leave {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.main-left-leave-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 11;
}
.main-left-leave-to {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.main-right-enter {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.main-right-enter-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 11;
}
.main-right-enter-to {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.main-right-leave {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.main-right-leave-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 21;
}
.main-right-leave-to {
  transform: translate(100%, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
//----------------------------------------------------------------------------------------------------------------

.tabbar-left-enter {
  transform: translate(100%, 0);
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
}
.tabbar-left-enter-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 22;
}
.tabbar-left-enter-to {
  transform: translate(0, 0);
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
}
.tabbar-left-leave {
  transform: translate(0, 0);
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
}
.tabbar-left-leave-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 12;
}
.tabbar-left-leave-to {
  transform: translate(0, 0);
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
}

.tabbar-right-enter {
  transform: translate(0, 0);
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
}
.tabbar-right-enter-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 12;
}
.tabbar-right-enter-to {
  transform: translate(0, 0);
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
}
.tabbar-right-leave {
  transform: translate(0, 0);
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
}
.tabbar-right-leave-active {
  transition: transform 0.3s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: 22;
}
.tabbar-right-leave-to {
  transform: translate(100%, 0);
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
}
//----------------------------------------------------------------------------------------------------------------

//无动画时修复页面抖动问题 开始
.main-none-enter {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}
.main-none-enter-to {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}
.main-none-leave {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.main-none-leave-to {
  transform: translate(0, 0);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
//无动画时修复页面抖动问题 结束
